package com.wondersgroup.yly.service;

import com.mseap.framework.exception.BusinessException;
import com.wondersgroup.yly.dto.DemoDTO;

/**
 * @ClassName DemoService
 * @Author liyunlei
 * @Date 2019-10-27 17:29
 */
public interface DemoService {

    Long insert(DemoDTO demoDTO) throws BusinessException;

    Long insertTry(DemoDTO demoDTO);

    void insertConfirm(DemoDTO demoDTO, Long id);

    void insertCancel(DemoDTO demoDTO, Long id);

    void updateByPrimaryKey(DemoDTO demoDTO) throws BusinessException;

}
